package decisionalalgorithms.guialgorithms.repositories;

import decisionalalgorithms.guialgorithms.domain.Algorithm;
import decisionalalgorithms.guialgorithms.domain.InitMatrix;
import org.springframework.data.repository.CrudRepository;

import java.util.Optional;

public interface InitMatrixRepository extends CrudRepository<InitMatrix, Long> {
    @Override
    Optional<InitMatrix> findById(Long id);

    Optional<InitMatrix> findByAlgorithm(Algorithm algorithm);
}
